package cn.wolfcode.lww.service;

import cn.wolfcode.lww.domain.Strategy;
import cn.wolfcode.lww.util.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StrategyService {
    int deleteByPrimaryKey(String id);

    int insert(Strategy record);

    PageInfo<Strategy> selectAll(QueryObject queryObject,String classfiy);

    int updateByPrimaryKey(Strategy record);

    Strategy selectByPrimaryKey(String id);

    void updateWatchById(String id);

    PageInfo<Strategy> searchAllByTitle(QueryObject queryObject,String title);
}
